-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding equative type sentences #149
Conversation
"_nn(color, hair)\n"+ | ||
"_predadj(color, similar)\n"+ | ||
"of(that, Ben)\n"+ | ||
"to(similar, that)\n"+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this of(that, Ben) and to(similar, that) correct and needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about the sentence "Jack’s hair color is similar to Ben's" ?
rc &= test_sentence ("Amen's hair is as long as Ben's.", | ||
"_poss(hair, Amen)\n"+ | ||
"_predadj(hair, long)\n"+ | ||
"_as(long, hair)\n"+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why it should be _as(long, Ben)? So first, the head of comparison entity is "hair" instead of "Ben". Second, if we want to keep all the comparatives representations consistent, we should use:
_compare(long, hair)
_poss(hair, Amen)
as(Amen, Ben)
rc &= test_sentence ("Jack is as intelligent as Ben.", | ||
"_predadj(Jack, intelligent)\n"+ | ||
"_as(intelligent, Jack)\n"+ | ||
"_than(Jack, Ben)\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to keep consistence with the normal comparative representations, it should be like:
_comparative(intelligent, Jack)
_than(Jack, Ben)
degree(intelligent, equal)
but I guess this is too deep for RelEx... So I think we can use:
_comparative(intelligent, Jack)
as(Jack, Ben)
@ruiting @amebel @linas please have a look on binary relationships.